package com.pray.praymall.order.feign;

import com.pray.praymall.order.vo.MemberAddressVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

import java.util.List;

/**
 * do something
 *
 * @author 魂悸魄
 * @date 2020/9/25 21:40
 */
@FeignClient("praymall-member")
public interface MemberFeignService {

    @GetMapping("/member/memberreceiveaddress/address/{memberId}")
    List<MemberAddressVo> getAddress(@PathVariable("memberId") Long memberId);
}
